package com.zhl.media.app.di.module;

import com.jess.arms.di.scope.FragmentScope;
import com.zhl.media.app.mvp.contract.WorkTaskContract;
import com.zhl.media.app.mvp.model.WorkTaskModel;

import dagger.Module;
import dagger.Provides;

@Module
public class WorkTaskModule {

    private WorkTaskContract.View view;
    public WorkTaskModule(WorkTaskContract.View view) {
        this.view = view;
    }
    @FragmentScope
    @Provides
    WorkTaskContract.View provideWorkTaskView() {
        return this.view;
    }

    @FragmentScope
    @Provides
    WorkTaskContract.Model provideWorkTaskModel(WorkTaskModel model) {
        return model;
    }
}